package day1108.adapter.objadapter;

/**
 * @author Mr.ma
 * @since 2022/11/8 21:10
 **/
public class ObjTest {
    public static void main(String[] args) {
        PowerAdapter powerAdapter = new PowerAdapter(new V220());
        int i = powerAdapter.output5();
        System.out.println("电压 = " + i);
    }
}
